module CustomConst
  CHESSMAN_RANGE = 0..99
  LINE_LEN = 10
  NEXT_INTERVAL = [LINE_LEN.pred, LINE_LEN.next].freeze
  NEXT_INTERVAL_ALL = [LINE_LEN.pred, LINE_LEN.next, -LINE_LEN.pred, -LINE_LEN.next].freeze

  DEFAULT_POINTS = [
    [
      0, 2, 4, 6, 8,
      11, 13, 15, 17, 19,
      20, 22, 24, 26, 28,
      31, 33, 35, 37, 39
    ],
    [
      60,62,64,66,68,
      71,73,75,77,79,
      80,82,84,86,88,
      91,93,95,97,99
    ]
  ].freeze
  PLAYER_WHITE = 0
  PLAYER_BLACK = 1
  DEFAULT_PLAYER = PLAYER_WHITE

  BLANK_CHESSMAN = 0
  CHESSMAN_FILTER = 0b100
  KING_FLAG = 0b10
end
